<div class="x-layout">
	<div class="x-side-panel">
		<div class="x-tree-header">
			<h2>部门</h2>
			<div class="x-tree-toolbar">
				<button type="button" class="ico-btn" ng-click="add()" title="新建"><i class="fa fa-plus-square"></i></button>
				<button type="button" class="ico-btn" ng-disabled="isNodeRoot()" ng-click="edit()" title="编辑"><i class="fa fa-edit"></i></button>
				<button type="button" class="ico-btn" ng-disabled="isNodeRoot()" ng-click="remove()" title="删除"><i class="fa fa-minus-square"></i></button>
				<button type="button" class="ico-btn" ng-click="treeQuery()" title="查询"><i class="fa fa-search"></i></button>
				<button type="button" class="ico-btn" ng-click="treeReload()" title="刷新"><i class="fa fa-repeat"></i></button>
			</div>
		</div>
		<div class="x-tree-panel">
			<div kendo-tree-view="tree"
                 k-options="treeOptions"
                 k-on-change="changeNode(dataItem)">
                    <span class="k-node" k-template>
                         <i class="fa fa-{{dataItem.cssClass || 'folder-open'}}"></i> {{dataItem.text}}
                     </span>
                 </div>
		</div>
	</div>
	<div class="x-main-panel" router-animation="primary">
		<!-- <div ng-if="selectedTreeNode" ng-switch="selectedTreeNode.type">
			<div ng-switch-when="root" ui-include="app/config/org/depart/views/include_depart.tpl.html"></div>
			<div ng-switch-default ui-include="app/config/org/depart/views/include_other.tpl.html"></div>
		</div>
		<div ng-if="!selectedTreeNode" ui-include="app/misc/views/include_welcome.tpl.html"></div> -->
		<ui-view name="primary"></ui-view>
	</div>
</div>